package com.linkhouse.domain.po;
/*房源评论表*MongoDB*/

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RoomComment implements Serializable {
    @Id
    private String id;
    /*房源ID*/
    private Long roomId;
    /*评论人ID*/
    private Long userId;
    /*评论人Name*/
    private String username;
    /*评价时间*/
    private Date commentTime;
    /*评论内容*/
    private String commentContent;
    /*回复内容*/
    private String reply;
    /*评论点赞数*/
    private Integer likeNumbe;
}
